Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ES Module syntax in file-loader #54

Merged
merged 1 commit into from
Dec 26, 2019

Conversation

jherrm
Copy link

@jherrm jherrm commented Dec 26, 2019

The behavior of file-loader changed in a recent update (merged in #47), resulting in [object Module] being returned instead of the path to an asset, like in the banner image:
<meta name="og:image" content="[object Module]">

Taking a tip from this issue, disabling ES module syntax fixes the problem.

Minor regex cleanup too.

Copy link
Owner

@freezy freezy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Was already wondering why the pics didn't show up. Cheers!

@freezy freezy merged commit 622cb07 into freezy:master Dec 26, 2019
@jherrm jherrm deleted the feature/disable-esmodule-syntax branch December 28, 2019 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants